From 0b5696e49a3ce885e62814e71b67f0d3ceb9bc3f Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 30 Aug 2002 04:29:47 +0000 Subject: [PATCH] Make waypt_head non-static. The purity isn't worth the pain. Add test for magproto to testo. --- ChangeLog | 3 +++ magproto.c | 1 + testo | 4 ++++ waypt.c | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e4e085b63..ff0fd40fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,2 +1,5 @@ NEW: blah blah NEW: Add Cetus support. Thanx to Ron Parker and Kjeld Jensen. +NEW: Windows support. You must download and install the expat dll if you + do not already have it. Get it from + http://sourceforge.net/projects/mingwrep/ diff --git a/magproto.c b/magproto.c index d261a1b55..dc226adfa 100644 --- a/magproto.c +++ b/magproto.c @@ -524,6 +524,7 @@ mag_wr_init(const char *portname) } static void + mag_deinit(void) { mag_handoff(); diff --git a/testo b/testo index 995f64638..73a7dedae 100755 --- a/testo +++ b/testo @@ -50,3 +50,7 @@ ${PNAME} -i geo -f geocaching.loc -o pcx -F /tmp/mm.pcx ${PNAME} -i pcx -f /tmp/mm.pcx -o gpsutil -F /tmp/pcx.gps diff /tmp/mm.gps /tmp/gu.wpt +# Magellan file format +${PNAME} -i magellan -f reference/magfile -o magellan -F /tmp/magfile +diff /tmp/magfile reference/magfile + diff --git a/waypt.c b/waypt.c index 20bb03bc3..0e47703c7 100644 --- a/waypt.c +++ b/waypt.c @@ -22,7 +22,7 @@ #include #include "defs.h" -static queue waypt_head; +queue waypt_head; static unsigned int waypt_ct; void -- 2.30.2